import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
// 导入normalize
import 'normalize.css'
// 导入公共样式
import '@/styles/comm.css'
// 全局组件
import componentJs from '@/components/index.js'
// 全局注册过滤器
import filterObj from '@/filters/index.js'
Object.keys(filterObj).forEach(item => {
  Vue.filter(item, filterObj[item])
})
Vue.use(componentJs)

Vue.use(Vant)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
